package com.example.studentmanagement.mapper;

import com.example.studentmanagement.entity.Classes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassMapper {

    Classes findById(Integer id);

    List<Classes> findAll();

    void insert(Classes cls);

    void update(Classes cls);

    void deleteById(Integer id);

}
